package com.gopay.common.trace.httpclient;

import com.gopay.common.trace.def.Span;
import com.gopay.common.trace.def.Tracer;
import com.gopay.common.trace.helper.LogAbstractHelper;
import org.apache.http.protocol.HttpContext;

import java.util.Date;

/**
 * @author ddh02
 * @HttpExceptionInterceptorImpl
 * @2017/5/12 18:41  www.gopay.com.cn Inc.All rights reserved.
 */


public class HttpExceptionInterceptorImpl extends HttpInterceptorBase {

    /**
     *
     * @param httpContext
     */
    public void process(HttpContext httpContext, Exception e) {

        LogAbstractHelper helper = getHelper(httpContext);

        if (helper != null) {
            helper.exT(e);
        }

    }


}
